package main

import (
	"github.com/MingOf/logger"
)

func main() {
	//a:=calc.Add(1,2)
	//fmt.Println(a)
	//var log = logger.Log{}
	//log := logger.NewLogger("Trace","console", 0)
	////log.Fatal("hah")
	//log.Error("error")
	//log.Info("info")
	//log.Warning("warning")
	//log.Debug("Debug")
	//log.Trace("trace")
	log2 := logger.NewLogger("Trace", "console", 10000000)
	for i := 0; i < 100000; i++ {
		log2.Trace("no haha")
		log2.Debug("haha")
		log2.Info("INFO")
		log2.Warning("Warning")
		//time.Sleep(1 * time.Second)
	}
}
